<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Menus extends Model
{
    protected $table = 'menus';

    /**
     * 定义主键
     *
     * @var array
     * Date: 2018/05/21
     * @author Tenny
     */
    protected $primaryKey = 'code';

    /**
     * 定义不可批量填充字段
     *
     * @var array
     * Date: 2018/05/21
     * @author Tenny
     */
    protected $guarded = ['id'];
}
